package com.atguigu.gulimall.coupon;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @className: CouponController
 * @author: LiQianJin
 * @date: 2024/8/16 11:32
 * @Version: 1.0
 * @description: 优惠卷相测试服务管理
 */
@SpringBootTest
public class CouponController {

    @Value("${coupon.user.name}")
    private String userName;

    @Value("${coupon.age}")
    private Integer userAge;

    @Test
    public void testNacosConfig() {
        System.out.println("userName:" + userName + "  userAge:" + userAge);
    }
}
